/* COLORs
rgb(0, 84, 24) - dark green
#46 a912 - strong green
#e7 efcb - crayon green

#1f 6c99 - dark blue
#2d 9cdc - strong blue
#cb e2ef - crayon blue

#65 0c0a - dark red
#a7 1512 - strong red
#ef cccb - crayon red
*/

/* @group HTML tags, reset */

* {margin:0; padding:0;}
body, div, span, p, a, img, ul, ol, li, caption, table, thead, tbody, tfoot, tr, th, td, form, fieldset, legend, label, dl, dt, dd, blockquote, applet, object, h1, h2, h3, h4, h5 {
	border:0;
}
body {
	padding:20px 0; 
	font:0.8em/1.5 "arial", sans-serif; 
	text-align:center; 
	background:#FFF; 
	color:#000;
}

a {
	text-decoration:none; 
	color: black;
}
a:hover {
	text-decoration: underline;
	color: black;
}


// external links
a[href^="ftp:"]:after {
 	content: url(http://ecat-dev.gbif.org/css/img/ftplink.gif);
}
a[href^="mailto:"]:after {
 	content: url(http://ecat-dev.gbif.org/css/img/mailtolink.gif);
}
a[href^="http"]:after {
 	content: url(http://ecat-dev.gbif.org/css/img/httplink.gif);
}
a[href^="http://localhost"]:after,
a[href^="http://www.flickr.com/photos"]:after,
a[href^="http://www.gbif"]:after,
a[href^="http://db2.gbif"]:after,
a[href^="http://ecat-dev.gbif"]:after {
 	content: "";
}
a[href$=".pdf"]:after {
 	content: url(http://ecat-dev.gbif.org/css/img/pdflink.gif);
}
a[href$=".doc"]:after {
 	content: url(http://ecat-dev.gbif.org/css/img/wordlink.gif);
}
a.newslink{
	padding-left: 22px;
 	background: url(http://ecat-dev.gbif.org/css/img/newspaper.gif) no-repeat left center;
}


h1, h2 {margin:15px 0 10px 0;}
h3, h4, h5, h6 {margin:5px 0 10px 0;}
h1 {font-size:260%; font-weight:normal; letter-spacing:-1px;}
h2 {font-size:160%; font-weight:normal;}
h3 {font-size:140%; font-weight:normal;}
h4, h5 {font-size:100%;}

p, table, ul, ol, dl, fieldset {margin:10px 0;}

table {border-collapse:collapse; border-spacing:0; font-size:100%;}
th {text-align:left; font-weight:bold;}
th, td {padding:3px 7px;}

ul, ol {margin-left:30px;}
ul ul, ol ol {margin:0; margin-left:20px;}
ol {list-style-type:decimal;}
li {display:list-item;}

dt {font-weight:bold;}
dd {margin-left:30px;}
fieldset {position:relative; padding:10px;border:1px solid #DFDFDF;}
legend {position:absolute; top:-1em; margin:0; padding:5px 10px; font-size:100%; font-weight:bold;background:#FFF; color:#46a912;}
form p label {
	float:left;
	text-align:right;
	width:120px;
	padding:0px 5px;
}

/* @end */






/* @group Universal styles (display, float, margin, text-align...)
 */

.box, 
.photobox{
	min-height:1px;
}
.box:after, 
.photobox:after{
	display:block; 
	visibility:hidden; 
	clear:both; 
	font-size:0; 
	content:".";
}
.box:after{
	line-height:0; 
}
.photobox:after{
	line-height:10px; 
}

.boxed {
	min-height:1px;
	display:block; 
	clear:both; 
	border: 1px solid #ccc;
	margin-top:10px;
	padding: 5px;
	border-radius: 5px;	
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}
.boxfooter{
	font-size:85%;
	color: #888;
	margin: 4px 0px 15px 0px;
	padding: 0px 5px 0px 5px;
}
.btn {
	color: #000;
	font-size:11px;
	background:#ccc;
	padding: 1px 2px;
	border: 1px solid #ccc;
	border-radius: 3px;	
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}
.btn:hover{
	color: #fff;
}
ul.errorMessage{
	color: red;
	margin:0; 
	padding:0; 
	list-style:none; 
	font: 100%/1.4 "arial",sans-serif;
}

.submitBtn{
	padding:2px; 
	font:normal 100%/1.2 "arial",sans-serif;
	border:1px solid #46a912; 
	background: #46a912; 
	color:#FFF;
} 
.menu a:hover {
	color: black;
	text-decoration:underline;
}
.pager{
	float: right;
	padding: 1px 3px 0px 5px;
}
.relative {position:relative;}
.clear {clear:both;}

.f-left {float:left !important;} img.f-left {float:left; margin-right:15px;}
.f-right {float:right !important;} img.f-right {float:right; margin-left:15px;}
.t-left {text-align:left !important;}
.t-center {text-align:center !important;}
.t-right {text-align:right !important;}
.t-justify {text-align:justify !important;}

.va-top {vertical-align:top;}
.va-middle {vertical-align:middle;}
.va-bottom {vertical-align:bottom;}

.nom {margin:0 !important;}
.nomt {margin-top:0 !important;}
.nomb {margin-bottom:0 !important;}

.noscreen {display:none;}

.biggest {font-size:130%;}
.bigger {font-size:110%;}
.smaller {font-size:85%;color:#888;}
.small {font-size:10px;color:#888;}

.noline{border-bottom:0px;}
    
.alert {
	color: red;
    font-weight: bold;
}


/* @end */




/* @group TABLES */
table.nice{
	border-spacing: 2px 2px;
	border-collapse: separate; 
}
table.nice tr{
	background-color: #f6f6f6;
}
table.nice td{
	padding: 1px 4px;
}
table.nice a {
	border-style: none;
}
table.nice a:hover {
	text-decoration: underline;
}

/* @end */




/* @group LAYOUT */

#topmenu {
	margin: 0;
	padding: 5px;
	position: relative; 
	top:-20px; 
	right:0;	
	height: 20px;
	color: black;
	border-bottom-style: solid;
	border-bottom-color: #aaa;
	border-width: 1px;
}
#topmenu ul {margin:0; padding:0; list-style:none; font: 100%/1.4 "arial",sans-serif;}
#topmenu ul li {
	display:inline; 
	margin:0; 
	float:left; 
	padding:0px 6px; 
	background:url("http://ecat-dev.gbif.org/css/img/dot-03.gif") 100% 0 repeat-y;
}
#topmenu ul li a {
	display:block; 
	border:0;
	color: black;
}
#topmenu ul li a:hover {
	text-decoration: underline;
}

#appmenu {
	float: left;
}
#appmenu li#app-active{
	font-weight:bold;
}
 
#account {
	float: right;
}
#account ul li#nav-active {
	font-weight:bold;
}

#login {
	display: none;
	width:200px;
	position: absolute; 
	top: 35px; 
	right:10px;	
	z-index: 5;
	background-color: white;
}
#login input{
	float: right;
	width:150px;
}
#login input[type="submit"]{
	width:50px;
}

#toc{
	font-size: 85%;
	cursor: pointer;
	float:right !important;
	position: fixed;
	top: 96px;
	right: 10px;
	width: 150px;
	margin: 0px;
	padding: 2px;
	background-color: #e7efcb;
	padding: 1px 3px 0px 5px;	
}
#toc h2{
	margin: 0px;
}
#toc a{
	color: black;
}
#toc ol{
	margin: 0 0 0 20px;
}

#main {width:960px; margin:0 auto; text-align:left;clear:both;}

#login-submit {padding: 0 2px;}
   
#header {position:relative; padding-bottom:0px;}

#logo {margin:0; font-weight:normal;color:#000;}
#logo a {border-bottom:0px}

#beta {
	position: absolute;
	left: 350px;
	top: -10px;
	z-index: -10;
}

#search {position: relative; top:-40px; right:0; width:450px; padding:7px; float: right;background:#EFEFEF;}
#search #search-input {width:390px; padding:3px;border:1px solid #AFAFAF;}
#search #search-input:focus {border:1px solid #5F5F5F;}

#nav {
	clear:both; 
	padding:5px 0; 
	border-left:0 !important; 
	border-right:0 !important;
}    
#nav ul {
	margin:0; 
	padding:0; 
	list-style:none; 
	font:100%/1.4 "arial",sans-serif;
}
#nav ul li {
	display:inline; 
	margin:0; 
	padding:0;
}
#nav ul li a {
	display:block; 
	float:left; 
	padding:7px 15px; 
	border:0; 
	color: #000;
	background:url("img/dot-03.gif") 100% 0 repeat-y;
}
#nav ul li#nav-active a {
	border:0; 
	font-weight:bold;
}
#nav {
	border:1px solid #CCC;
}
#nav ul li#nav-active a {
	background:#46a912; 
	color:#FFF;
}

#content {
	clear:both;
	padding: 0px 0px 30px 0px; 
	min-height:400px;
}

#colLeft {float:left; width:620px;}    

#colRight {float:right; width:310px;}

#footer {
	clear:both; 
	min-height:1px;
	border-top:1px solid #DFDFDF;
	border-bottom:1px solid #DFDFDF; 
	padding: 10px 0px;
	background:#fafafa; 
}
#footer:after{
	display:block; 
	visibility:hidden; 
	clear:both; 
	font-size:0; 
	content:".";
}
#footer-content{
	width:960px; 
	margin:0 auto; 
	text-align:left;
	font-size:85%;
	color:#5F5F5F;
}
#footer-content ul {
	color:#5F5F5F;
	list-style-type: none;
}
#footer-content ul li{
	width: 155px;
	float: left;
}
#footer-content a {color:#5F5F5F;}
#footer-content a:hover {color:#000;}

#footer-content > ul > li > ul {
	margin: 0;
}

#footer-content > ul > li > a {
	font-weight: bold;
}     

/* @end */



